I have an attribute in a module that I want users to only be able to write to it through a dialog box which I will develop. They should not be able to edit it by opening the module and manually write in it. Does anyone know if this is possible and how to do it? camba - Tue Nov 07 12:11:41 EST 2017 |
Re: Private Attribute I don't think that there are easy solutions for this. One thing that comes to my mind is a trigger that somehow detects whether the attribute is written by the dialog. Perhaps like this:
Of course you need to make sure that the module attribute creates no history entry, perhaps the super secret value is calculated together with the current date and hour and the session number so the user cannot guess how the value is. and of course you need to hide the trigger code effectively from the user e.g. by using dxl encryption |